#coding=utf-8
import unittest
from appium import webdriver
# from selenium import webdriver
from time import sleep
import uiautomator

from  TestCase import loginEgovaMobile
import sys

# BasePage.base

loginInstance = loginEgovaMobile.login_factory()

baseFunction = BasePage.BaseFunction()
# element = BasePage.BaseFunction.Serach_element(baseFunction,'test',"cn.com.egova.egovamobile:id/login_txtUsername")
# element.send_keys("test")

loginInstance.login_system()

if __name__ == '__main__':
    print  'test'
    print sys.path[0]